package com.suep.business.service;

import com.suep.business.domain.MealCategory;

import java.util.List;

public interface IMealCategoryService {
    /**
     * 根据ID获取菜品分类
     */
    MealCategory getById(Integer categoryId);

    /**
     * 获取所有菜品分类
     */
    List<MealCategory> getAll();

    /**
     * 根据店铺ID获取菜品分类
     */
    List<MealCategory> getByStoreId(Integer storeId);

    /**
     * 添加菜品分类
     */
    Integer add(MealCategory mealCategory);

    /**
     * 更新菜品分类
     */
    Integer update(MealCategory mealCategory);

    /**
     * 根据ID删除菜品分类
     */
    Integer deleteById(Integer categoryId);

    /**
     * 根据店铺ID删除菜品分类
     */
    Integer deleteByStoreId(Integer storeId);
}
